package domain

import (
	"gitee.com/cjsn/topsdk/util"
)

type TmallServicecenterWorkerCreateWorkerDto struct {
	/*
	   工人居住地址     */
	Address *TmallServicecenterWorkerCreateAddressDto `json:"address,omitempty" `

	/*
	   111     */
	IdentityId *string `json:"identity_id,omitempty" `

	/*
	   11     */
	Name *string `json:"name,omitempty" `

	/*
	   1     */
	Phone *int64 `json:"phone,omitempty" `

	/*
	   111     */
	ProviderId *int64 `json:"provider_id,omitempty" `

	/*
	   1111     */
	ProviderName *string `json:"provider_name,omitempty" `

	/*
	   111     */
	RegisterTime *util.LocalTime `json:"register_time,omitempty" `

	/*
	   1111     */
	ServiceAreas *[]TmallServicecenterWorkerCreateDivisionDto `json:"service_areas,omitempty" `

	/*
	   11     */
	ServiceTypes *[]string `json:"service_types,omitempty" `

	/*
	   1111     */
	WorkType *string `json:"work_type,omitempty" `

	/*
	   111     */
	HandheldCardPic *string `json:"handheld_card_pic,omitempty" `

	/*
	   111     */
	Photo *string `json:"photo,omitempty" `

	/*
	   11     */
	IdCardPicBack *string `json:"id_card_pic_back,omitempty" `

	/*
	   11     */
	IdCardPic *string `json:"id_card_pic,omitempty" `

	/*
	   工人所属行业类型     */
	BizType *string `json:"biz_type,omitempty" `

	/*
	   覆盖的service_code列表，|隔开     */
	ServiceCodes *string `json:"service_codes,omitempty" `

	/*
	   工人支持的商品类目，格式：类目id1|类目id2     */
	CoverCategoryIds *string `json:"cover_category_ids,omitempty" `

	/*
	   网点编码     */
	ServiceStoreCode *string `json:"service_store_code,omitempty" `
}

func (s *TmallServicecenterWorkerCreateWorkerDto) SetAddress(v TmallServicecenterWorkerCreateAddressDto) *TmallServicecenterWorkerCreateWorkerDto {
	s.Address = &v
	return s
}
func (s *TmallServicecenterWorkerCreateWorkerDto) SetIdentityId(v string) *TmallServicecenterWorkerCreateWorkerDto {
	s.IdentityId = &v
	return s
}
func (s *TmallServicecenterWorkerCreateWorkerDto) SetName(v string) *TmallServicecenterWorkerCreateWorkerDto {
	s.Name = &v
	return s
}
func (s *TmallServicecenterWorkerCreateWorkerDto) SetPhone(v int64) *TmallServicecenterWorkerCreateWorkerDto {
	s.Phone = &v
	return s
}
func (s *TmallServicecenterWorkerCreateWorkerDto) SetProviderId(v int64) *TmallServicecenterWorkerCreateWorkerDto {
	s.ProviderId = &v
	return s
}
func (s *TmallServicecenterWorkerCreateWorkerDto) SetProviderName(v string) *TmallServicecenterWorkerCreateWorkerDto {
	s.ProviderName = &v
	return s
}
func (s *TmallServicecenterWorkerCreateWorkerDto) SetRegisterTime(v util.LocalTime) *TmallServicecenterWorkerCreateWorkerDto {
	s.RegisterTime = &v
	return s
}
func (s *TmallServicecenterWorkerCreateWorkerDto) SetServiceAreas(v []TmallServicecenterWorkerCreateDivisionDto) *TmallServicecenterWorkerCreateWorkerDto {
	s.ServiceAreas = &v
	return s
}
func (s *TmallServicecenterWorkerCreateWorkerDto) SetServiceTypes(v []string) *TmallServicecenterWorkerCreateWorkerDto {
	s.ServiceTypes = &v
	return s
}
func (s *TmallServicecenterWorkerCreateWorkerDto) SetWorkType(v string) *TmallServicecenterWorkerCreateWorkerDto {
	s.WorkType = &v
	return s
}
func (s *TmallServicecenterWorkerCreateWorkerDto) SetHandheldCardPic(v string) *TmallServicecenterWorkerCreateWorkerDto {
	s.HandheldCardPic = &v
	return s
}
func (s *TmallServicecenterWorkerCreateWorkerDto) SetPhoto(v string) *TmallServicecenterWorkerCreateWorkerDto {
	s.Photo = &v
	return s
}
func (s *TmallServicecenterWorkerCreateWorkerDto) SetIdCardPicBack(v string) *TmallServicecenterWorkerCreateWorkerDto {
	s.IdCardPicBack = &v
	return s
}
func (s *TmallServicecenterWorkerCreateWorkerDto) SetIdCardPic(v string) *TmallServicecenterWorkerCreateWorkerDto {
	s.IdCardPic = &v
	return s
}
func (s *TmallServicecenterWorkerCreateWorkerDto) SetBizType(v string) *TmallServicecenterWorkerCreateWorkerDto {
	s.BizType = &v
	return s
}
func (s *TmallServicecenterWorkerCreateWorkerDto) SetServiceCodes(v string) *TmallServicecenterWorkerCreateWorkerDto {
	s.ServiceCodes = &v
	return s
}
func (s *TmallServicecenterWorkerCreateWorkerDto) SetCoverCategoryIds(v string) *TmallServicecenterWorkerCreateWorkerDto {
	s.CoverCategoryIds = &v
	return s
}
func (s *TmallServicecenterWorkerCreateWorkerDto) SetServiceStoreCode(v string) *TmallServicecenterWorkerCreateWorkerDto {
	s.ServiceStoreCode = &v
	return s
}
